<template>
    <div style="width: 80%;margin: auto;">
        <el-table :data="tableData" style="margin: auto;">
            <el-table-column prop="date" label="玩家" :width="w * 0.2" />
            <el-table-column prop="name" label="天梯分" :width="w * 0.2" />
            <el-table-column prop="address" label="胜率" :width="w * 0.2" />
        </el-table>
        <div style="width: 50%;margin: 5vh auto 0px auto;">
            <el-pagination background layout="prev, pager, next" :total="1000" style="margin-top:auto 5vh;"
                :hide-on-single-page="true" />
        </div>
    </div>
</template>

<script>
import { ref } from 'vue';


export default {
    name: "myBotsView",
    setup() {
        let w = ref(window.innerWidth);
        return {
            w,
        }
    }
}

</script>

<style></style>